<%--
  Created by IntelliJ IDEA.
  User: SuZePing
  Date: 2021/1/16
  Time: 21:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<div class="col-sm-3 col-md-2 sidebar">
	<div class="tree">
		<ul style="padding-left:0px;" class="list-group">
			<li class="list-group-item tree-closed">
				<a href="admin/to/main/page.html"><i class="glyphicon glyphicon-dashboard"></i> 首页</a>
			</li>
			<security:authorize access="hasRole('用户管理员') or hasRole('超级管理员')">
				<li class="list-group-item tree-closed">
					<span><a href="admin/get/page.html"><i class="glyphicon glyphicon-user"></i> 用户列表</a></span>
				</li>
			</security:authorize>
			<security:authorize access="hasRole('角色管理员') or hasRole('超级管理员')">
				<li class="list-group-item tree-closed">
					<span><a href="role/get/page.html"><i class="glyphicon glyphicon-king"></i> 角色列表</a></span>
				</li>
			</security:authorize>
			<security:authorize access="hasRole('药品管理员') or hasRole('超级管理员')">
				<li class="list-group-item tree-closed">
					<span><a href="medicine/get/page.html"><i class="glyphicon glyphicon-th-list"></i> 药品列表</a></span>
				</li>
			</security:authorize>
			<security:authorize access="hasRole('器械管理员') or hasRole('超级管理员')">
				<li class="list-group-item tree-closed">
					<span><a href="instrument/get/page.html"><i class="glyphicon glyphicon-road"></i> 器械列表</a></span>
				</li>
			</security:authorize>
			<security:authorize access="hasRole('店员') or hasRole('超级管理员')">
				<li class="list-group-item tree-closed">
					<span><a href="sell/get/page.html"><i class="glyphicon glyphicon-shopping-cart"></i> 售出记录</a></span>
				</li>
			</security:authorize>
			<security:authorize access="hasRole('医师') or hasRole('超级管理员')">
				<li class="list-group-item tree-closed">
					<span><a href="check/get/page.html"><i class="glyphicon glyphicon-edit"></i> 常规检测</a></span>
				</li>
			</security:authorize>
		</ul>
	</div>
</div>
